package ru.nsu.fit.shared.questions_request;

/**
 * Created by IntelliJ IDEA.
 * User: vtimofeev
 * Date: 12/13/12
 * Time: 12:26 AM
 * To change this template use File | Settings | File Templates.
 */

//As far as DatabaseManager should not depend on package "ws"
//We need this auxiliary class
public class QuestionsGetterOutputFromDB {
    public final String[] questionTexts;
    public final int[] questionIds;
    //Possible answers. It includes all the default options
    public final String[][] answers;
    public final int[][] answerIds;
    //How long the question will be alive
    public final int[] lifetimes;

    public QuestionsGetterOutputFromDB(String[] questionTexts, String[][] questionsOptions,
                                       int[] lifetimes, int[][] answerIds, int[] questionIds) {
        this.questionTexts = questionTexts;
        this.answers = questionsOptions;
        this.lifetimes = lifetimes;
        this.answerIds = answerIds;
        this.questionIds = questionIds;
    }
}
